package org.argeproje.resim.ui.component.view;

import org.argeproje.resim.proc.view.ViewerPR;
import org.argeproje.resim.ui.model.ComponentItem;


public class ViewerCI extends ComponentItem{

	private static final long serialVersionUID = 1;
	
	
	public ViewerCI()
	{		
		super();
		_name = "Viewer";
		_description = "View an output";
		initProc();
	}		
		
	public Class<ViewerCI> getComponentClass() {
		return ViewerCI.class;
	}
	
	protected void initDescriptorList()
	{
		super.initDescriptorList();
	}

	public void initProc() {
		if(_processor == null)
		{
			_processor = new ViewerPR();
		}	
	}
	
	public void updateProc() {
		if(_processor == null)
		{
			_processor = new ViewerPR();
		}	
	}
}
